package com.ruoyi.finance.mapper;

import com.ruoyi.finance.domain.PayOrder;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 支付订单Mapper接口
 *
 * @author zt
 * @date 2023-11-15
 */
@Mapper
public interface PayOrderMapper
{
    /**
     * 查询单个支付订单
     * @param payOrder
     * @return
     */
    public PayOrder selectPayOrderOne(PayOrder payOrder);

    /**
     * 查询支付订单列表
     *
     * @param payOrder 支付订单
     * @return 支付订单集合
     */
    public List<PayOrder> selectPayOrderList(PayOrder payOrder);

    /**
     * 新增支付订单
     *
     * @param payOrder 支付订单
     * @return 结果
     */
    public int insertPayOrder(PayOrder payOrder);

    /**
     * 修改支付订单
     *
     * @param payOrder 支付订单
     * @return 结果
     */
    public int updatePayOrder(PayOrder payOrder);

}
